#!/usr/bin/evn python
# -*- coding: utf-8 -*-
"""
description: please input using description
author: justbk
date: 2021/7/5
modify_records:
    - 2021/7/5 justbk create this file
"""


class LoadBenchmarkSqlLog:
    def __init__(self, file):
        self.file = file

    def get_all_lines(self):
        with open(self.file, "rt") as f:
            while True:
                line = f.readline()
                if line == "":
                    break
                if line.strip() == "":
                    continue
                yield line.strip()
